package com.huirui.server.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 简单商品视图对象，用于展示商品的基础信息
 */
@Data
@Schema(description = "简单商品视图对象，包含商品的基本信息")
public class SimpleProductVo {

    @Schema(description = "商品唯一标识ID", example = "1001", type = "Long")
    private Long id;

    @Schema(description = "商品名称", example = "华为Mate 60 Pro", maxLength = 200)
    private String productName;

    @Schema(description = "商品售价", example = "6999.00", type = "Double", format = "decimal")
    private Double price;

    @Schema(description = "分类名称")
    private List<String> categoryNames;
}